﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RewardPrinting.aspx.cs" Inherits="FYPHP.RewardPrinting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 780px; border: 1px solid #000000; margin: 0 auto; font-family: 'Arial'; font-size: 15px; padding: 10px 10px 20px 10px;">
        <table cellpadding="0" cellspacing="0">
        <tr>
       <td width="285px"><img src="images/logo.jpg" alt="" style="width: 180px; padding-left: 15px;" /></td>
       <td style="text-align: center;">
<b>HOB Sdn. Bhd.</b><br />
Jalan Genting Kelang,<br />
53300 Kuala Lumpur, Malaysia.
<span style="margin-top: 5px; display: block;">
Tel: (6)03-41450123<br />
Fax: (6)03-41423166 <br />
Email: fyphp@live.com</span></td></tr></table>
        
 <h2 style="text-align: center; font-weight: bold">INVOICE <asp:Label ID="lblRef" runat="server"></asp:Label></h2>
         <table cellpadding="5" cellspacing="5" width="100%" style="line-height: 20px;">
         <tr>
         <td valign="top">
             <table cellpadding="0" cellspacing="0">
                <tr><td>Recipient</td><td>&nbsp;:&nbsp;</td><td><asp:Label ID="lblRecipient" runat="server"></asp:Label></td></tr>
                <tr><td>Recipient Points</td><td>&nbsp;:&nbsp;</td><td><asp:Label ID="lblPoints" runat="server"></asp:Label></td></tr> 
                <tr><td>Recipient Phone</td><td>&nbsp;:&nbsp;</td><td><asp:Label ID="lblRPhone" runat="server"></asp:Label></td></tr> 
                <tr><td>Recipient Email</td><td>&nbsp;:&nbsp;</td><td><asp:Label ID="lblREmail" runat="server"></asp:Label></td></tr>    
                <tr><td>Date Redeem</td><td>&nbsp;:&nbsp;</td><td><asp:Label ID="lblDate" runat="server"></asp:Label></td></tr>
             </table>
         </td>
         <td valign="top" width="230px" style="border: 1px solid #000; padding: 2px;">
                   <b>Ship To : </b><br />
             <asp:Label ID="lblAddress" runat="server"></asp:Label></td></tr>
         </table>
         <br />
        <script type="text/javascript">            var num = 0; </script>
        <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate>
        <table cellpadding="5" cellspacing="5" width="100%" border="1px solid #000" align="center" style="border-collapse: collapse; border-color: #000; text-align: center">
 <tr style="background-color: #eee; font-weight: bold;"><td width="30px">No.</td><td>Reward</td><td>Reward Description</td><td>Points Used</td></tr>
</HeaderTemplate>
        <ItemTemplate>
        <td><script type="text/javascript">num += 1; document.write(num);</script></td>
            <td align="center" width="200px"><%#DataBinder.Eval(Container.DataItem, "r_name" ) %></td>
            <td><%#DataBinder.Eval(Container.DataItem, "des" ) %></td>
            <td align="center"><%#DataBinder.Eval(Container.DataItem, "r_points" ) %></td>
        </tr>
        </ItemTemplate>
        <FooterTemplate></FooterTemplate>
        </asp:Repeater>
    </table>
    <br />
    <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td valign="top" align="left">
    <div style="border:1px solid #000000; width:490px; height:160px; vertical-align:top;">
		&nbsp;REMARKS</div>
	</td>
    <td valign="bottom">
    Prepared by : ______________________
<br /><br /><br /><br /><br />
Received by : ______________________ 
        </td>
    </tr>
    </table>
    </div>
    </form>
</body>
</html>

